<div class="clear_condition">
AND <select id='conditions__field' name='conditions[][field]'> 
<%= options_for_select([["Created at", "created_at"], ["Deadline", "deadline"], ["Closed at", "updated at"]], "created_at")%>
</select>
<%=h '<' %>
<%= calendar_date_select_tag('conditions[][date]', Date.today-6.month, :id => 'conditions__date')%>
<%= link_to_function "remove", "$(this).up('.clear_condition').remove()" %>
</div>
